<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/bootstrap.min.css}">
    <style type="text/css">
        button {
            font-size: 12px;
        }

        table.imagetable th {
            background: #b5cfd2;
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #999999;
        }

        .contentpanel {
            padding: 20px;
            position: relative;
        }

        .panel {
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
            background: #fcfcfc;
            border: 0;
        }

        .editable-list-group {
            padding: 0;
        }

        .editable-list-item {
            border-bottom: 1px dotted #ddd;
            padding: 12px 15px;
        }

        .row {
            margin-left: -10px;
            margin-right: -10px;
        }

        .editable-click, a.editable-click {
            text-decoration: none;
            border-bottom: dashed 1px #0088cc;
        }

        .inline_block{
            display: inline-block;
        }

        .close_btn{
            height: 30px;
            width: 55px;
            position: absolute;
            right: 20px;
        }
        a:hover{
            text-decoration: none;
        }
    </style>
</head>
<body>
<div class="contentpanel">

    <div class="panel panel-default">
        <div class="panel-body editable-list-group">
            <div class="row editable-list-item">
                <div class="col-sm-3 inline_block">姓名:</div>
                <div class="col-sm-9 inline_block"><a data-type="text" th:text="${session.user.getRealName()}"></a></div>
            </div>
            <div class="row editable-list-item">
                <div class="col-sm-3 inline_block">性别:</div>
                <div class="col-sm-9 inline_block"><a data-type="text" th:text="${session.user.getSex()}"></a></div>
            </div>
            <div class="row editable-list-item">
                <div class="col-sm-3 inline_block">住址:</div>
                <div class="col-sm-9 inline_block"><a data-type="text" th:text="${session.user.getAddress()}"></a></div>
            </div>
            <div class="row editable-list-item">
                <div class="col-sm-3 inline_block">电话:</div>
                <div class="col-sm-9 inline_block"><a data-type="text" th:text="${session.user.getTel()}"></a></div>
            </div>
        </div>
    </div>

    <button id="hide" class="btn btn-warning close_btn" type="button" onclick="parent.closeWindow();">关闭</button>
</div>

</body>

</html>